#include "opponents.h"
#include "dukeNukem.h"
#include "wolf.h"
#include "soldier.h"
#include "centaur.h"
#include "..\gameParameters.h"

void Opponents::loadOpponents()
{
	opponents[0] = new DukeNukem(MD2Model::load(GameParameters::getOpponentsPath("dukeNukem.md2")), MD2Model::load(GameParameters::getWeaponsPath("dukeNukem_weapon.md2")));
	opponents[0]->setNumber(102);
	opponents[0]->init();

	opponents[1] = new Soldier(MD2Model::load(GameParameters::getOpponentsPath("soldier.md2")), MD2Model::load(GameParameters::getWeaponsPath("soldier_weapon.md2")));
	opponents[1]->setNumber(101);
	opponents[1]->init();

	//opponents[2] = new Centaur(MD2Model::load(GameParameters::getOpponentsPath("centaur.md2")));
	//opponents[2]->setNumber(102);
	//opponents[2]->init();
}

Opponent* Opponents::opponents[2];